home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q1082.dms / q1082.adf / src.lzh / Fig / alloc.h < prev    next >
C/C++ Source or Header  |  1991-07-18  |  843b  |  25 lines

  1. /* 
  2.  *    FIG : Facility for Interactive Generation of figures
  3.  *
  4.  *    Copyright (c) 1985 by Supoj Sutanthavibul (supoj@sally.UTEXAS.EDU)
  5.  *    January 1985.
  6.  *    1st revision : Aug 1985.
  7.  *
  8.  *    %W%    %G%
  9. */
  10. /*extern char    *malloc();*/
  11. /*extern char    *calloc();*/
  12.  
  13. #define        Line_malloc(z)        z = (F_line*)malloc(LINOBJ_SIZE)
  14. #define        Spline_malloc(z)    z = (F_spline*)malloc(SPLOBJ_SIZE)
  15. #define        Ellipse_malloc(z)    z = (F_ellipse*)malloc(ELLOBJ_SIZE)
  16. #define        Arc_malloc(z)        z = (F_arc*)malloc(ARCOBJ_SIZE)
  17. #define        Compound_malloc(z)    z = (F_compound*)malloc(COMOBJ_SIZE)
  18. #define        Text_malloc(z)        z = (F_text*)malloc(TEXOBJ_SIZE)
  19. #define        Point_malloc(z)        z = (F_point*)malloc(POINT_SIZE)
  20. #define        Control_malloc(z)    z = (F_control*)malloc(CONTROL_SIZE)
  21. #define        Arrow_malloc(z)        z = (F_arrow*)malloc(ARROW_SIZE)
  22.  
  23. extern char    Err_mem[];
  24. extern char    Err_incomp[];
  25.